﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly">
  <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <msxsl:script language="javascript" implements-prefix="user">
    function StrSplit(Str,splitChar,n){
    if(Str.length=0){return '1'}
    var a=Str.replace(/'/g,"").split(splitChar);
    if(n&lt;a.length){
    if(a[n].length==0)return '1';
    return a[n];
    }
    return '1';
    }</msxsl:script>
  <xsl:template match="/">
<div class="titleA">
       <xsl:if test="count(rows/row)=0">
            添加
      </xsl:if>
          <xsl:if test="count(rows/row)>0">
            修改
          </xsl:if>
          分类目录
    </div>
    <table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#e0e0e0">
      <form id="form1" name="form1" method="post" action="">
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="120" align="left">编码</td>
            <td align="left"><xsl:value-of select="rows/row/ID"/></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">所属</td>
            <td align="left"><input name="F_SuperName" type="text" class="input" id="F_SuperName" value="{rows/row/F_SuperName}" size="25" maxlength="24" /></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">上级分类</td>
            <td align="left">
              <select name="F_PID" id="F_PID"><option value="0" style="background:#EEEEEE">做一级分类(0)</option><city_list><xsl:attribute name="param"><xsl:value-of select="rows/row/F_PID"/></xsl:attribute>上级分类目录选择</city_list></select>              </td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">分类名称</td>
            <td align="left"><input name="F_Name" type="text" class="input" id="F_Name" size="25" maxlength="24">
            <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Name"/></xsl:attribute>
</input></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">顺序号</td>
            <td align="left"><input name="F_Order" type="text" value="{rows/row/F_Order}" id="F_Order"><xsl:attribute name="value"><xsl:value-of select="rows/row/F_Order"/><xsl:if test="count(rows/row)=0">10</xsl:if></xsl:attribute></input>            </td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">是否默认</td>
            <td align="left"><xsl:value-of select="rows/row/F_IsDefault"/></td>
          </tr>
          

          <tr bgcolor="#ffffff">
            <td align="left">继续新增<input type="checkbox" name="IsContinue" id="IsContinue" ><xsl:if test="count(rows/row)!=0"><xsl:attribute name="disabled">true</xsl:attribute></xsl:if></input></td>
            <td height="40" align="left"><input class="btnD" id="Submit1" type="button" value="保存" name="Submit1"><xsl:attribute name="onclick">if(TM.saveContentCmd(this,form1,'分类目录列表')==1){if(!IsContinue.checked)TM.pList()}</xsl:attribute></input>
              &nbsp; &nbsp;
              <input class="btnD" type="button" value="取消" name="button" onclick="TM.closeTab()"/>
&nbsp; &nbsp;
<input name="editID" type="hidden" id="editID"><xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/><xsl:if test="count(rows/row)=0">0</xsl:if></xsl:attribute>
              </input></td>
          </tr>
        </tbody>
      </form>
    </table>
  </xsl:template>
</xsl:stylesheet>
